import type { VxeGridPropTypes } from 'vxe-table';
import type { ArtistStatus, ServiceLevel } from '#/api/wedding';


// 表格列配置
export const columns: VxeGridPropTypes.Columns = [
  { type: 'checkbox', width: 50, fixed: 'left' },
  { field: 'artistCode', title: '化妆师编号', width: 140, fixed: 'left' },
  { field: 'artistName', title: '姓名', width: 120 },
  { field: 'gender', title: '性别', width: 80 },
  { field: 'phone', title: '电话', width: 130 },
  { field: 'serviceLevel', title: '等级', width: 100 },
  { field: 'servicePrice', title: '服务价格(元)', width: 120 },
  { field: 'workYears', title: '从业年限', width: 100 },
  { field: 'rating', title: '评分', width: 80 },
  { field: 'status', title: '状态', width: 100, slots: { default: 'status' } },
  {
    field: 'createTime',
    title: '创建时间',
    width: 180,
  },
  {
    title: '操作',
    width: 280,
    fixed: 'right',
    slots: { default: 'action' },
  },
];

// 化妆师状态选项
export const artistStatusOptions = [
  { label: '可预约', value: 'AVAILABLE' as ArtistStatus, color: 'success' },
  { label: '服务中', value: 'BUSY' as ArtistStatus, color: 'processing' },
  { label: '已预约', value: 'BOOKED' as ArtistStatus, color: 'warning' },
  { label: '休息中', value: 'OFF_DUTY' as ArtistStatus, color: 'default' },
];

// 服务等级选项
export const serviceLevelOptions = [
  { label: '初级', value: 'JUNIOR' as ServiceLevel },
  { label: '高级', value: 'SENIOR' as ServiceLevel },
  { label: '首席', value: 'MASTER' as ServiceLevel },
  { label: '总监', value: 'CHIEF' as ServiceLevel },
];

// 性别选项
export const genderOptions = [
  { label: '男', value: '男' },
  { label: '女', value: '女' },
];

// 擅长领域选项
export const specialtyOptions = [
  { label: '新娘妆', value: '新娘妆' },
  { label: '晚宴妆', value: '晚宴妆' },
  { label: '韩式妆容', value: '韩式妆容' },
  { label: '复古妆容', value: '复古妆容' },
  { label: '时尚妆容', value: '时尚妆容' },
  { label: '创意妆容', value: '创意妆容' },
];

